package com.tlias.exam.pojo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * TODO
 *
 * @Author mr.luo
 * @Date 29 4月 2025 16:38
 */
@Data
public class Goods {
    private Integer id;
    private String name;
    private BigDecimal price;
    private Integer goodNumber;
    private String image;
    private Integer status;
    private String descs;
    private Integer cateId;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime start;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime end;
}
